package com.elrichuang.userserver.domain.vo;

import com.elrichuang.userserver.enums.CandidateStatusEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class EntryResultVo implements Serializable {

	private static final long serialVersionUID = 6647360591845584984L;
	private String userName;

	private String status;

	/**
	 * 状态字符串
	 */
	private String statusStr;

	private Date createTime;

	private String remarks;

	public String getStatusStr()
	{
		return CandidateStatusEnum.fromCode(this.status).getInfo();
	}
}
